package com.yang.service.Impl;

import com.yang.mapper.MenuMapper;
import com.yang.pojo.Menu;
import com.yang.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 杨天可
 * @Date 2021/3/2 18:25
 * @Version 1.0
 */

@Service("menuService")
public class MenuServiceImpl implements MenuService {

    @Resource
    MenuMapper menuMapper;

    @Override
    public Menu findById(Integer id) {
        return menuMapper.findById(id);
    }
}
